package cn.itsource.rpms.domain;


import lombok.Data;

import java.util.Date;

@Data
public class Employee extends BaseDomain{

    private String username;

    private String password;

    private String email;

    private String headImg;

    private Integer age;

    private Boolean sex;

    private Date hireTime;

    private Role role;

    private Dept dept;

    @Override
    public String toString() {
        return "Employee{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", email='" + email + '\'' +
                ", headImg='" + headImg + '\'' +
                ", age=" + age +
                ", sex=" + sex +
                ", hireTime=" + hireTime +
                '}';
    }
}
